#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()
def printSpin():
    print 'spinbox'
sb = Spinbox(root, values=(0,2,20,40,-1), increment=2, command=printSpin)
sb.pack()

root.mainloop()
